If --target is specified, pass that to build commands
authorAlex Crichton <alex@alexcrichton.com>
Sun, 17 Aug 2014 05:10:36 +0000 (22:10 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 17 Aug 2014 05:17:55 +0000 (22:17 -0700)
commit51de050e6c67ca9bcfe7e85822e8a3a936378497
tree3b588049c6f130c7a6e797e5086ee79c06de71ad
parent8a28cb3e39ee43cf3de1e6bdfe24cddddbce2a77
If --target is specified, pass that to build commands

0c834d7b accidentally broke this by favoring rustc's target triple over the
actual target triple.
src/cargo/ops/cargo_rustc/context.rs
tests/test_cargo_compile_git_deps.rs
tests/test_cargo_cross_compile.rs